package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Compensation;
import cn.wolfcode.crm.domain.Task;
import cn.wolfcode.crm.query.CompensationQueryObject;
import cn.wolfcode.crm.query.TaskQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

/**
 * Created by Administrator on 2018/6/12.
 */
public interface ICompensationService {

    PageResult query(CompensationQueryObject qo);


    void updateByPrimaryKey(Compensation compensation);

    void insert(Compensation compensation);

    void changeState(Compensation compensation);

    List<Compensation> selectAll();
}
